package hilosCaracter;
 /**
  *
  * @author julita
  */

public class CHilo implements Runnable {
private char caracter;

public CHilo (char car) {
  this.caracter = car;
} 

public void run() {
  try {
      Thread.sleep( (long) (Math.random() * 100));
    //  Thread.sleep(100);
     System.out.print(caracter);
  } catch (InterruptedException e) {}
}

}  